<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
</head>

<body>
    <!-- 把片段的内容插入到当前位置 -->
    <div th:insert="~{footer :: copy}"></div>
    <br>
    <!-- 使用片段的内容替换当前标签 -->
    <div th:replace="~{footer :: copy}"></div>
    <br>

</body>
</html>
